﻿@model List<nwrole.toolbox.sync.entity.IntMessage>

@{
    ViewBag.Title = "Errors";
}

<h2>Errors</h2>

<table class="box">
    <tr>
        <th>Id</th>
        <th>MsgType</th>
        <th>RegDat</th>
        <th>Status</th>
        <th>ClientCode</th>
        <th>MsgCorr</th>
    </tr>
    @foreach (var msg in Model)
    {
        <tr>
            <td class="form">
                <a href="@Url.Action("FailedMessageRows", new { id=msg.Id })">@msg.Id</a>
            </td>
            <td class="form">
                @msg.MsgType
            </td>
            <td class="form">
                @msg.RegDat
            </td>
            <td class="form">
                @msg.Status
            </td>
            <td class="form">
                @msg.ClientCode
            </td>
            <td class="form">
                @msg.MsgCorr
            </td>
        </tr>    
    }
</table>
<a href="@Url.Action("Index")">Back</a>